node {
  name: "x"
  op: "Const"
  attr {
    key: "dtype"
    value {
      type: DT_FLOAT
    }
  }
  attr {
    key: "value"
    value {
      tensor {
        dtype: DT_FLOAT
        tensor_shape {
          dim {
            size: 1
          }
          dim {
            size: 3
          }
        }
        float_val: 2.0
      }
    }
  }
}
node {
  name: "y"
  op: "_Arg"
  attr {
    key: "T"
    value {
      type: DT_RESOURCE
    }
  }
  attr {
    key: "_handle_dtypes"
    value {
      list {
        type: DT_FLOAT
      }
    }
  }
  attr {
    key: "_handle_shapes"
    value {
      list {
        shape {
          dim {
            size: 1
          }
          dim {
            size: 3
          }
        }
      }
    }
  }
  attr {
    key: "index"
    value {
      i: 0
    }
  }
}
node {
  name: "FunctionWithDtResourceInput"
  op: "FunctionWithDtResourceInput"
  input: "x"
  input: "y"
}
library {
  function {
    signature {
      name: "FunctionWithDtResourceInput"
      input_arg {
        name: "x"
        type: DT_FLOAT
      }
      input_arg {
        name: "y"
        type: DT_RESOURCE
      }
      output_arg {
        name: "z1"
        type: DT_FLOAT
      }
      output_arg {
        name: "z2"
        type: DT_FLOAT
      }
    }
    node_def {
      name: "y1"
      op: "ReadVariableOp"
      input: "y"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
    }
    node_def {
      name: "Add"
      op: "Add"
      input: "x"
      input: "y1:value:0"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
    }
    ret {
      key: "z1"
      value: "Add:z:0"
    }
    ret {
      key: "z2"
      value: "x"
    }
  }
}
versions {
  producer: 26
  min_consumer: 12
}
